import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
import scui from './scui'
import i18n from './locales'
import router from './router'
import store from './store'
import { createApp } from 'vue'
import App from './App.vue'
// import VForm3 from '@/../lib/vform/designer.umd.js'
// import '../lib/vform/designer.style.css'
import Print from 'vue-print-nb'
import vue3TreeOrg from 'vue3-tree-org';
import "vue3-tree-org/lib/vue3-tree-org.css";



// import './assets/icons/icon'
// import 'default-passive-events'
import './assets/font_3928809_3te7u83hy0l/iconfont.css';
// import importTableField from '@/views/report/field-widget/index.js'

if (process.env.NODE_ENV === 'production') {
  if (window) {
    window.console.log = function () {};
  }
}
const app = createApp(App);

app.use(store);
app.use(router);
app.use(ElementPlus, {
    locale: zhCn,
  })
app.use(i18n);
app.use(scui);
// app.use(VForm3)
// app.use(JsonEditorVue)
app.use(Print)
app.use(vue3TreeOrg)
// app.use(importTableField)
// 去除警告
app.config.warnHandler = () => null;
//挂载app
app.mount('#app');
